package com.demo.bean;
import lombok.*;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
/**
 * 汽车信息
 * @author hlf
 * @version 1.0
 * @date 2022/8/3 14:41
 */
@Data
@Builder
@ToString
@Scope(value = "prototype")
@Component(value = "carInfo")
public class CarInfo {

    private String name ;

    private String auth;

    public CarInfo() {

    }

    public CarInfo(String name, String auth) {
        this.name = name;
        this.auth = auth;
    }
}
